export default {
  userInfo: state => state.app.userInfo || {},
  token: state => state.app.token,
  distributionid: state => state.app.distribution.id,
  distribution: state => state.app.distribution,
  isLogin: state => !!state.app.token,
  cartNum: state => state.app.cartNum,
  navigationMenu: state => state.app.navigationMenu,
  inviteCode: state => state.app.distribution && state.app.distribution.invite_code ? state.app.distribution.invite_code : "",
  appConfig: state => state.app.config,
  sysInfo: state => state.app.sysInfo,
  cityInfo: state => state.city.cityInfo,
  mini_url: state => state.app.mini_url,
  configCode: state => state.app.configCode,
  showLoading: state => state.app.showLoading,
};
